<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018-12-13
 * Time: 18:36
 */

namespace app\index\validate;


use think\Validate;

class Wfindpassword extends Validate
{

    protected $rule = [
        'u_email'        => 'require|email',
        'u_email_code'   => 'require',
        'verify'         => 'require|captcha'
    ];

    protected $message = [
        'u_email.email'          => '邮箱格式错误',
        'u_email.require'        => '请输入邮箱',
        'u_email_code.require'   => '请输入验证码',
        'verify.require'         => '请输入验证码',
        'verify.captcha'         => '验证码不正确'
    ];
}